#include "myfile.h"

int main() {
    _FILE* fp = _fopen("log.txt", "w");
    const char* msg = "hello myfile\n";
    int cnt = 5;
    while (cnt) {
        _fwrite(fp, msg, strlen(msg));
        cnt--;
    } 

    _fclose(fp);
    return 0;
}
